package com.cy.service;

import com.cy.entity.Area;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chenyi
 * @email qq228112142@qq.com
 * @date 2017-08-10 16:00:04
 */
public interface AreaService {
	
	Area queryObject(String areaId);
	
	List<Area> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(Area area);
	
	void update(Area area);
	
	void delete(String areaId);
	
	void deleteBatch(String[] areaIds);

    List<Area> getAreaListByIsShow(HashMap<String, Object> paraMap);

    int getCount(Map<String, Object> params);

    void updateState(String[] ids, String stateValue);
}
